package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the CC_SICK_OFFICES database table.
 * 
 */
@Entity
@Table(name="CC_SICK_OFFICES")
@NamedQuery(name="CcSickOffice.findAll", query="SELECT c FROM CcSickOffice c")
public class CcSickOffice implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(allocationSize=1,name="CC_SICK_OFFICES_OFFID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CC_SICK_OFFICES_OFFID_GENERATOR")
	@Column(name="OFF_ID")
	private long offId;

	@Column(name="NEW_OFFID")
	private BigDecimal newOffid;

	@Column(name="OFF_DOCTORID")
	private BigDecimal offDoctorid;

	@Column(name="OFF_SICKID")
	private BigDecimal offSickid;

	@Column(name="OLD_OFFID")
	private BigDecimal oldOffid;

	@Temporal(TemporalType.DATE)
	@JSONField(format="yyyy/MM/dd")
	private Date shiftdate;

	@Column(name="SHIFTRE_MARKS")
	private String shiftreMarks;

	public CcSickOffice() {
	}

	public long getOffId() {
		return this.offId;
	}

	public void setOffId(long offId) {
		this.offId = offId;
	}

	public BigDecimal getNewOffid() {
		return this.newOffid;
	}

	public void setNewOffid(BigDecimal newOffid) {
		this.newOffid = newOffid;
	}

	public BigDecimal getOffDoctorid() {
		return this.offDoctorid;
	}

	public void setOffDoctorid(BigDecimal offDoctorid) {
		this.offDoctorid = offDoctorid;
	}

	public BigDecimal getOffSickid() {
		return this.offSickid;
	}

	public void setOffSickid(BigDecimal offSickid) {
		this.offSickid = offSickid;
	}

	public BigDecimal getOldOffid() {
		return this.oldOffid;
	}

	public void setOldOffid(BigDecimal oldOffid) {
		this.oldOffid = oldOffid;
	}

	public Date getShiftdate() {
		return this.shiftdate;
	}

	public void setShiftdate(Date shiftdate) {
		this.shiftdate = shiftdate;
	}

	public String getShiftreMarks() {
		return this.shiftreMarks;
	}

	public void setShiftreMarks(String shiftreMarks) {
		this.shiftreMarks = shiftreMarks;
	}

}